package cn.yudao.ymcc;


import cn.yudao.ymcc.domain.Login;
import cn.yudao.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "service-uaa")
public interface LoginOpenFeign {

    @RequestMapping(value="/login/save",method= RequestMethod.POST)
    JSONResult saveOrUpdate(@RequestBody Login login);

}
